using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;

namespace InfFront.UICore
{
    /// <summary>
    /// General style for all object and button icons
    /// </summary>
    public enum IconStyle { Normal, Disabled, Highlighted, DisabledHighlighted } ;

    /// <summary>
    /// IImage retrieval interface
    /// </summary>
    [ServiceContract(Namespace = "http://InfFront.UICore")]
    public interface IImage
    {
        /// <summary>
        /// Unique (within an InfoSet instance) picture identifier
        /// </summary>
        [OperationContract]        
        string GetUid();

        /// <summary>
        /// Image PNG stream
        /// </summary>
        [OperationContract]
        System.IO.Stream GetData();
    }
}
